package com.example.recordingpen_datacollection.config.contract.annotation;

import org.springframework.core.annotation.*;
import org.springframework.core.Ordered;
import java.lang.annotation.*;
 
 
/**
 * @Author:myth
 * @time：
 * @Discription：
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Order(Ordered.HIGHEST_PRECEDENCE)
public @interface RequestLimit {
     int count() default Integer.MAX_VALUE;
     long time() default 60000;
}